<%@ page contentType="text/html;charset=GB2312"%>
<%@ page import="java.sql.*"%>
<jsp:useBean id="db" scope="page" class="com.dj.conn.DataBean"></jsp:useBean>
<%
	String mRecordID = request.getParameter("RecordID");
	String mFileName = new String(request.getParameter("FileName")
			.getBytes("8859_1"));
	String mDescript = new String(request.getParameter("Descript")
			.getBytes("8859_1"));

	String mSql = "Update Template_File Set FileName = '" + mFileName
			+ "',Descript = '" + mDescript + "' Where RecordID='"
			+ mRecordID + "'";

	db.executeUpdate(mSql);
%>
<%
response.sendRedirect("TemplateList.jsp");
%>

